package com.activiti.basic.model;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/*
 * @author pisory
 * @version 1.0
 * @date 2020/4/5
 */
@JsonIgnoreProperties(ignoreUnknown=true)
public class WebRequest<T> {   
    
    @NotNull
    @Valid
    private T body;

    public T getBody() {
        return body;
    }

    public void setBody(T body) {
        this.body = body;
    }
}
